﻿namespace Minotaur.App.Domains.Model.Account
{

    /// <summary>
    /// 账号信息
    /// </summary>
    [SugarTable("AccoutInfo")]
    public class AccoutInfo : EntityBase
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(ColumnName = "autoid", IsIdentity = true, IsPrimaryKey = true)]
        public virtual int AutoId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        [SugarColumn(ColumnName = "account")]
        public virtual string? Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(ColumnName = "password")]
        public virtual string? Password { get; set; }

        /// <summary>
        /// 员工基本信息ID
        /// </summary>
        [SugarColumn(ColumnName = "empid")]
        public virtual int EmpId { get; set; }
        /// <summary>
        /// 启用？
        /// </summary>
        [SugarColumn(ColumnName = "enable")]
        public virtual bool Enable { get; set; }
        /// <summary>
        /// 顺序
        /// </summary>
        [SugarColumn(ColumnName = "sequence")]
        public virtual long? Sequence { get; set; }

        /// <summary>
        /// 语言
        /// </summary>
        [SugarColumn(ColumnName = "language")]
        public virtual string? Language { get; set; }

    }
}
